/**
 * 自定义事件类型类
 */

/**
 * 登录事件
 * @params { type: 'cancel' | 'success' | 'logout' }
 */
export const EV_LOGIN = "ev-login";

/**
 * 订单事件
 * @params { type: 'pay' | 'refund' | 'receive' | 'comment' | 'reward' , data: { id: string, type: 'goods' | 'train' | 'course' | 'jps' | 'vip' } }
 */
export const EV_ORDER = "ev-order";

/**
 * 笔记事件
 * @params { type: 'like', data: { id: string, type: 'guider' | 'community' | 'novice' } }
 */
export const EV_NOTE = "ev-note";

/**
 * 联系人事件
 * @params { type: 'edit' | 'select' | 'del', data: { id: string } }
 */
export const EV_CONTACTS = "ev-contacts";

/**
 * 地址事件
 * @params { type: 'edit' | 'select' | 'del', data: { id: string } }
 */
export const EV_ADDRESS = "ev-address";

/**
 * 用户事件
 * @params { type: 'follow', data: { id: string, type: 'guider' | 'team' | 'author' } }
 */
export const EV_USER = "ev-user";
